<extend name='layout:index'/>
<block name='content'>
	
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1,maximllm-scale=1,user-scalable=no" >
	<title>Elt交易平台</title>
	<link rel="stylesheet" href="__PUBLIC__/home/css/elt.css">
</head>
<body>
	<div class="container">
		<div style='font-size:15px;'>
			<form action='__MODULE__/user/teamPic' method='get'>
				会员ID:   <input type="text" name="id" placeholder="可输入会员ID" style='font-size:13px'>
				会员姓名:   <input type="text" name='user_name' placeholder="可输入会员姓名" style='font-size:13px'>
				          <input type="submit"  value="搜索" style='margin-top:20px;height:25px'>
		   </form>
				<a href='__MODULE__/user/teamPic/id/<?php echo $_SESSION['users']['user_id']; ?>'style='margin-top:20px;outline:none;'>置顶</a>&nbsp;&nbsp;&nbsp;
				<if condition="$id eq $top_id" >
					<span style='color:red'>你已经是最高等级</span>
				<else />
				<a href='__MODULE__/user/teamPic/id/{$treeTop["tree_id"]}'style='margin-top:20px;outline:none;'>返回上一级</a>
				</if>
		</div>
		<div class="left">
			<div class="color_block">报单中心</div>
			<div class="color_block">正常</div>
			<div class="color_block">未激活</div>
			<div class="color_block">出局</div>
			<div class="color_block">冻结</div>
		</div>
		<div class="right">
		<!-- 第一个模块 -->
			<div class="right_cont" >				
				<div class="right_content" <if condition='$treeTop.is_fh eq 1'>
														style='background-color:3cb2ef'
											<elseif condition='$treeTop.is_reportcenter eq 1' />
														style='background-color:#f86160'
											<else />
														style='background-color:#4cd127'
											</if>
					</div>

					<div class="context" <if condition='$treeTop.is_fh eq 1'>
														style='background-color:3cb2ef'
											<elseif condition='$treeTop.is_reportcenter eq 1' />
														style='background-color:f86161'
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='#' style='color:black'>{$treeTop['user_name']}</a>
					</div>

					<div class="context">等级:<if condition="$treeTop.user_type eq 3">VIP1
												<elseif condition="$treeTop.user_type eq 5"/>VIP2
												<elseif condition="$treeTop.user_type eq 10"/>VIP3
												<elseif condition="$treeTop.user_type eq 30"/>VIP4
												<elseif condition="$treeTop.user_type eq 50"/>VIP5
												<elseif condition="$treeTop.user_type eq 100"/>VIP6
												</if>
					</div>

					<div class="context" >ID:{$treeTop['user_id']}</div>
					<div class="context">{$treeTop['left_leave_amount']}余{$treeTop['right_leave_amount']}</div>
				</div>
			<!-- 第二个模块 -->

				<if condition="$treeMessage0 neq 0 ">
				<div class="right_content" <if condition='$treeMessage0.is_fh eq 1'>
														style='background-color:3cb2ef'
											<elseif condition='$treeMessage0.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage0.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage0.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage0.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage0.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage0.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage0.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='__MODULE__/user/teamPic/id/{$treeMessage0.user_id}' style='color:black'>{$treeMessage0['user_name']}</a></div>
					<div class="context" >等级:<if condition="$treeMessage0.user_type eq 3">VIP1
												<elseif condition="$treeMessage0.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage0.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage0.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage0.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage0.user_type eq 100"/>VIP6
												</if></div>
					<div class="context">ID:{$treeMessage0['user_id']}</div>
					<div class="context">{$treeMessage0['left_leave_amount']}余{$treeMessage0['right_leave_amount']}</div>
				</div>
				<elseif condition="$treeTop.is_fh eq 1"/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>	
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeTop.user_id}/position/l'><center>注册</center></a>
						</div>
				</if>
			<!-- 第三个模块 -->

				 <if condition="$treeMessage1 neq 0 ">
				<div class="right_content" <if condition='$treeMessage1.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage1.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage1.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage1.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage1.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage1.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage1.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage1.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='__MODULE__/user/teamPic/id/{$treeMessage1.user_id}' style='color:black'>{$treeMessage1['user_name']}</a></div>
					<div class="context">等级:<if condition="$treeMessage1.user_type eq 3">VIP1
												<elseif condition="$treeMessage1.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage1.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage1.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage1.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage1.user_type eq 100"/>VIP6
												</if></div>
					<div class="context">ID:{$treeMessage1['user_id']}</div>
					<div class="context">{$treeMessage1['left_leave_amount']}余{$treeMessage1['right_leave_amount']}</div>
				</div>
				<elseif condition="$treeMessage0 eq 0 "/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>	
				<elseif condition="$treeMessage0.is_fh eq 1"/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeTop.user_id}/position/r'><center>注册</center></a>
						</div>
				</if>
			<!-- 第四个模块 -->

				<if condition="$treeMessage2 neq 0">
				<div class="right_content" <if condition='$treeMessage2.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage2.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage2.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage2.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage2.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage2.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage2.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage2.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='__MODULE__/user/teamPic/id/{$treeMessage2.user_id}' style='color:black'>{$treeMessage2['user_name']}</a></div>
					<div class="context">等级:<if condition="$treeMessage2.user_type eq 3">VIP1
												<elseif condition="$treeMessage2.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage2.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage2.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage2.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage2.user_type eq 100"/>VIP6
												</if></div>
					<div class="context">ID:{$treeMessage2['user_id']}</div>
					<div class="context">{$treeMessage2['left_leave_amount']}余{$treeMessage2['right_leave_amount']}</div>
				</div>				
				<elseif condition="$treeMessage0 eq 0 "/>			
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>	
				<elseif condition="$treeMessage0.is_fh eq 1"/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>	
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeMessage0.user_id}/position/l'><center>注册</center></a>
						</div>
				</if>
			<!-- 第五个模块 -->

				<if condition="$treeMessage3 neq 0">
				<div class="right_content" <if condition='$treeMessage3.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage3.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage3.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage3.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage3.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage3.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage3.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage3.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>><a href='__MODULE__/user/teamPic/id/{$treeMessage3.user_id}' style='color:black'>{$treeMessage3['user_name']}</a></div>
					<div class="context">等级:<if condition="$treeMessage3.user_type eq 3">VIP1
												<elseif condition="$treeMessage3.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage3.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage3.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage3.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage3.user_type eq 100"/>VIP6
												</if></div>
					<div class="context">ID:{$treeMessage3['user_id']}</div>
					<div class="context">{$treeMessage3['left_leave_amount']}余{$treeMessage3['right_leave_amount']}</div>
				</div>
				<elseif condition="$treeMessage2 eq 0 "/>			
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>
				<elseif condition="$treeMessage2.is_fh eq 1"/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%'>
						<a href=''><center>未开放</center></a>
						</div>
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeMessage0.user_id}/position/r'><center>注册</center></a>
						</div>
				</if>
			<!-- 第六个模块 -->

				<if condition="$treeMessage4 neq 0">
				<div class="right_content" <if condition='$treeMessage4.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage4.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage4.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage4.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage4.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage4.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage4.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage4.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='__MODULE__/user/teamPic/id/{$treeMessage4.user_id}' style='color:black'>{$treeMessage4['user_name']}</a></div>
					<div class="context">等级:<if condition="$treeMessage4.user_type eq 3">VIP1
												<elseif condition="$treeMessage4.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage4.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage4.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage4.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage4.user_type eq 100"/>VIP6
												</if></div>
					<div class="context">ID:{$treeMessage4['user_id']}</div>
					<div class="context">{$treeMessage4['left_leave_amount']}余{$treeMessage4['right_leave_amount']}</div>
				</div>
				<elseif condition="$treeMessage1 eq 0 "/>			
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%;margin-left:-15px'>
						<a href=''><center>未开放</center></a>
						</div>
				<elseif condition="$treeMessage1.is_fh eq 1"/>
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%;margin-left:-15px'>
						<a href=''><center>未开放</center></a>
						</div>
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeMessage1.user_id}/position/l'><center>注册</center></a>
						</div>
				</if>
				<!-- 第七个模块 -->

				<if condition="$treeMessage5 neq 0">
				<div class="right_content" <if condition='$treeMessage5.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage5.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage5.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage5.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
					<div class="context" <if condition='$treeMessage5.is_fh eq 1'>
														style='background-color:#3cb2ef'
											<elseif condition='$treeMessage5.is_jh eq 1' />
														style='background-color:#ccc'
											<elseif condition='$treeMessage5.is_out eq 0' />
														style='background-color:#ff84ff'
											<elseif condition='$treeMessage5.is_reportcenter eq 1' />
														style='background-color:#f86161'											
											<else />
														style='background-color:#4cd127'
											</if>>
											<a href='__MODULE__/user/teamPic/id/{$treeMessage5.user_id}' style='color:black'>{$treeMessage5['user_name']}</a></div>
					<div class="context">等级:<if condition="$treeMessage5.user_type eq 3">VIP1
												<elseif condition="$treeMessage5.user_type eq 5"/>VIP2
												<elseif condition="$treeMessage5.user_type eq 10"/>VIP3
												<elseif condition="$treeMessage5.user_type eq 30"/>VIP4
												<elseif condition="$treeMessage5.user_type eq 50"/>VIP5
												<elseif condition="$treeMessage5.user_type eq 100"/>VIP6
												</if></div>
					<div class="context" style='background-color:#fff;color:red'>ID:{$treeMessage5['user_id']}</div>
					<div class="context">{$treeMessage5['left_leave_amount']}余{$treeMessage5['right_leave_amount']}</div>
				</div>
				<elseif condition="$treeMessage4 eq 0 "/>			
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%;margin-left:-21px'>
						<a href=''><center>未开放</center></a>
						</div>				
				
				<elseif condition="$treeMessage4.is_fh eq 1 "/>			
				<div class="right_content" style='height:60px;line-height:60px;background-color:#ccc;color:#000;font-size:20px;border-radius:55%;margin-left:-21px'>
						<a href=''><center>未开放</center></a>
						</div>				
				<else />
				<div class="right_content" style='height:60px;line-height:60px;background-color:#B7D9FC;color:#000;font-size:20px;border-radius:55%'>
						<a href='__MODULE__/user/register/id/{$treeMessage1.user_id}/position/r'><center>注册</center></a>
						</div>
				</if>
				
				
			</div>
		</div>
	</div>
</body>
</html>
</block>